﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Modellayer;

namespace WcfLayer
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IServiceBioWCF
    {
      
        [OperationContract]
        void createCustomer(int phoneNumber, string email, string name, string password);

        [OperationContract]
        void createEmployee(int phoneNumber, string email, string name, string password, string loginId);

        [OperationContract]
        Person findPerson(int phoneNumber);

        [OperationContract]
        void updatePerson(Person p);

        [OperationContract]
        void createReservation(Show s, Person p, List<Seat> seats);

        [OperationContract]
        void createShow(DateTime showtime, ShowRoom sh, Movie m);

        [OperationContract]
        void lockSeat(Show s, int seatNumber);

        [OperationContract]
        void unlockSeat(Show s, int seatNumber);

        [OperationContract]
        void reserveSeat(Show s, int seatNumber, int reservationsId);

        [OperationContract]
        Show findShow(int showId);

        [OperationContract]
        void createMovie(string title, string movieLength);

        [OperationContract]
        void createShowRoom(int numberOfSeats);

        [OperationContract]
        void updateShowRoom(int showRoomNumber, int numberOfSeats);


        // TODO: Add your service operations here
    }

   
}
